﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="QuestionControl.ascx.cs"
    Inherits="qna.Controls.QuestionControl" %>
<div id="QA">
    <div id="ud">
        <asp:HiddenField ID="questionId" runat="server" />
        <asp:ImageButton ID="subscribeBtn" runat="server" ImageUrl="../images/subscribe_grayscale.jpg"
            onmouseover="this.src='../images/subscribe.jpg'" onmouseout="this.src='../images/subscribe_grayscale.jpg'"
            CausesValidation="False" OnClick="subscribeBtn_Click" />
        <asp:HyperLink runat="server" id="editLink">
            <asp:ImageButton ID="editBtn" runat="server" ImageUrl="../images/edit_grayscale.jpg"
                onmouseover="this.src='../images/edit.jpg'" onmouseout="this.src='../images/edit_grayscale.jpg'"
                CausesValidation="False" />
        </asp:HyperLink>
        <asp:ImageButton ID="deleteBtn" ImageUrl="../images/delete_grayscale.jpg" onmouseover="this.src='../images/delete.jpg'"
            onmouseout="this.src='../images/delete_grayscale.jpg'" runat="server" CausesValidation="False">
        </asp:ImageButton>
    </div>
    <br />
    <br />
    <h2 runat="server" id="title">
    </h2>
    <p runat="server" id="date" class="date">
    </p>
    <p runat="server" id="content" class="descrip">
    </p>
    <div id="btmLine">
        <ul>
            <li class="imgRating">
                <asp:ImageButton ID="imgRating" runat="server" ImageUrl="../images/images.jpg" onmouseover="this.src='../images/rating_liked.jpg'"
                    onmouseout="this.src='../images/images.jpg'" OnClick="imgRating_Click" />
            </li>
            <li class="lblRating">
                <asp:Label ID="rating" runat="server"></asp:Label>
            </li>
            <li class="Answer">
                <asp:HyperLink runat="server" ID="answerLink" ForeColor="#4D8D99"></asp:HyperLink></li>
            <li class="uname">Posted By:
                <asp:Label ID="postedBy" runat="server"></asp:Label>
            </li>
        </ul>
    </div>
</div>
